//
//  RequestTool.h
//  OAProject
//
//  Created by yhj on 2017/3/29.
//  Copyright © 2017年 cdnunion. All rights reserved.
//

#import <Foundation/Foundation.h>

// 成功回调
typedef void(^SuccessResult)(id responseObj);

// 失败回调
typedef void(^FailureResult)(NSError *error);

@interface RequestTool : NSObject

+(instancetype)shareInstance;

// post
+(void)PostCallBack:(NSString *)url parameter:(NSDictionary *)dic success:(SuccessResult)success failure:(FailureResult)failure;


@end
